xl: fix migration failure with xl migrate --debug
authorM A Young <m.a.young@durham.ac.uk>
Tue, 2 Dec 2014 13:48:54 +0000 (13:48 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 2 Dec 2014 13:48:54 +0000 (13:48 +0000)
commitd36a3734a6abccd36a8050e19633af1671a2083d
treec3de12683ed109e755bd398825d4211da82c047b
parent1fed4af8d870e6fe4c4e2eceafaf8afba49fc169
xl: fix migration failure with xl migrate --debug

Migrations with xl migrate --debug will fail because debugging
information from the receiving process is written to the stdout
channel. This channel is also used for status messages so the
migration will fail as the sending process receives an unexpected
message. This patch moves the debugging information to the stderr
channel.

Signed-off-by: Michael Young <m.a.young@durham.ac.uk>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl.h
tools/libxl/xl_cmdimpl.c
tools/libxl/xl_sxp.c